<?php

return [
    'app_debug'              => true,
    'layout_on' => false,
    // 显示错误信息
    'show_error_msg'        =>  true, 
    'url_route_must'=>  false,
    'url_route_on'  =>  true,   
    'route_config_file'      => ['route'],
    'db' => [
            'type'            => 'mysql',
            'hostname'        => 'sqld-gz.bcehost.com',
            'database'        => 'AILjHyMVHlRDnyxcdMLd',
            'username'        => '2fe6978ce00a470f8be400d8127744f2',
            'password'        => 'ae7707f4969f4c00b6fd79619cc06f76',
            'hostport'        => '3306',
            'charset'         => 'utf8',
            'prefix'          => 'sinblog_'
    ],
    'session'  => [
    'prefix'         => 'module',
    'type'           => '',
    'auto_start'     => true,
    ],
    'view_replace_str'       => [
        '__HTP__' => 'http://',
        '__URL__' => 'www.sinalma.cn'
    ],
    'HTP_URL' =>'http://www.sinalma.cn',
    'HTP' =>'http://',
    'URL' =>'www.sinalma.cn',
    'APP_SUB_DOMAIN_DEPLOY'   =>    true, // 开启子域名配置
    'APP_SUB_DOMAIN_RULES'    =>    array(   
        'api'        => array('api'),
        'game' => 'game'
    ),
];